﻿@model GameSchoolApplication.Models.Lecture
<input type="hidden" id="navString" value="lecture" />
<input type="hidden" id="ID" value="@Model.lectureID" />

<fieldset>
<iframe class="youtube-player" type="text/html" width="640" height="385" src="http://www.youtube.com/embed/@Model.filePath" frameborder="0">
</iframe>

    <div class="display-label">lvlID</div>
    <div class="display-field">@Model.lvlID</div>

    <div class="display-label">name</div>
    <div class="display-field">@Model.name</div>

    <div class="display-label">lectureDesc</div>
    <div class="display-field">@Model.lectureDesc</div>

    <div class="display-label">dateOfRecording</div>
    <div class="display-field">@String.Format("{0:g}", Model.dateOfRecording)</div>

    <div class="display-label">youtubeID</div>
    <div class="display-field">@Model.filePath</div>

    <div class="display-label">allowComments</div>
    <div class="display-field">@Model.allowComments</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id = Model.lvlID }) |
    @Html.ActionLink("Back to List", "Index")
</p>

